HackerRank bitwise problem

welcome to shbcf.ru